﻿@model GameControllerModel.Index
<div class="ui-box ui-box-alpha">
    <div class="ui-box-head">
        <div class="ui-box-head-border">
            <div class="ui-box-head-title">
                充 值</div>
            <a href="#" class="ui-box-head-more">去购物</a>
        </div>
    </div>
    <div class="ui-box-container">
        <div class="ui-box-content ui-box-content-special">
            <div class="row-fluid">
                <div class="span4">
                </div>
                <div class="span4">
                </div>
                <div class="span4">
                    <span>充值资金不能用于提现。</span>
                </div>
            </div>
        </div>
    </div>
    <div class="ui-box-container-noborder">
        <div class="ui-box-content">
        </div>
    </div>
    <div class="ui-box-container-noborder">
        <div class="ui-box-container-head">
            请选择游戏</div>
        <div class="ui-box-content">
            <div class="row-fluid">
                <div class="dropdown">
                    <a title="修改发货信息" href="javascript:void(0);" data-toggle="dropdown"><i class="icon-pencil">
                    </i>&nbsp; 修改发货信息</a>
                    <div class="dropdown-menu text-align-left pull-left form">
                     
                            <div style="padding: 3px 10px;" >
                                <div class="tabbable" >
                                    <ul class="nav nav-tabs">
                                        <li class="active"><a href="#tab1" data-toggle="tab">玩过的</a></li>
                                        <li><a href="#tab2" data-toggle="tab">最新游戏</a></li>
                                    </ul>
                                    <div class="tab-content">
                                        <div id="tab1" class="tab-pane active">
                                            @foreach (var o in Model.Games)
                                            {     <span>@o.Name</span> }
                                        </div>
                                        <div id="tab2" class="tab-pane">
                                               <span>dd</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                       
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="ui-box-container-noborder">
        <div class="ui-box-container-head">
            请选择充值方式</div>
            <a onclick="test();">dd</a>
    </div>
</div>
@section css{
    @Url.Ayatta().StaticCss("messenger")
    @Url.Ayatta().StaticCss("messenger-theme-future")
}
@section js{
    @Url.Ayatta().StaticJs("backbone")
    @Url.Ayatta().StaticJs("messenger")
    <script type="text/javascript">
        function test() {
            $.postJSON('/game', {gameId:1,serverId:1,amount:2.0}, function (r) {
                console.log(r);
            });
        }
        $(function(){
          $(document).on('click.dropdown touchstart.dropdown.data-api', '.dropdown .form', function (e) { e.stopPropagation() });    
        });
    </script>
}
